// 首页, go to upload or learn
import Link from "next/link";
import Image from "next/image";

export default function Home() {
    return (
        <div className={'font-mono h-screen w-full flex flex-row justify-center items-center gap-20'}>
            <Image
                width={250} height={120}
                src={'/next.svg'} alt={''}
            />
            <div className={'h-24 flex flex-col justify-between gap-6'}>
                <Link href={'/learn'}>
                    <span className={'font-bold p-4 bg-green-400 hover:bg-green-300 hover:border-b-4 rounded-lg'}>
                    开始学习
                    </span>
                </Link>
                <Link href={'/upload'}>
                    <span className={'font-bold p-4 bg-green-400 hover:bg-green-300 hover:border-b-4 rounded-lg'}>
                    上传题库
                    </span>
                </Link>
            </div>
        </div>
    );
}
